TaxJar\Cart_Tax_Applicator S

Total Complexity 26
Dependencies 2
Dependents 1
Total lines 294
Lines of code 148
Logical lines of code 95
Comment lines 103
Methods 12
Properties 4

Methods 12

Method Rating Maintainability Complexity Lines of code
apply_tax_to_negative_fee()
S
51 4 26
apply_fee_taxes()
S
53 4 24
apply_shipping_tax()
S
54 4 20
merge_tax_arrays()
S
62 4 12
apply_tax_to_cart_contents()
S
53 3 21
calculate_totals()
S
61 1 11
__construct()
S
81 1 3
apply_new_tax()
S
73 1 6
apply_line_subtotal_tax()
S
65 1 8
apply_line_total_tax()
S
67 1 7
round_line_tax()
S
79 1 3
apply_tax_to_fee()
S
67 1 7